﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YYSite.Common.Domain;
using YYSite.Domain.System.IdentityUsers;

namespace YYSite.Domain.System.Positions
{
    /// <summary>
    /// 岗位
    /// </summary>
    public class Position : EntityBase
    {
        /// <summary>
        /// 岗位代码
        /// </summary>
        public virtual string Code { get; set; }
        /// <summary>
        /// 岗位名称
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// 岗位描述
        /// </summary>
        public virtual string Description { get; set; }

        public virtual ISet<IdentityUser> IdentityUsers { get; set; }
    }
}
